package com.zt.springkafka;

/**
 * 事件
 *
 * @author zt
 * @date 2021/12/23 12:47
 */
public class Event {
    private String topic;
    private int id;
    private String message;


    public String getTopic() {
        return topic;
    }

    public int getId() {
        return id;
    }


    public String getMessage() {
        return message;
    }

    public Event setTopic(String topic) {
        this.topic = topic;
        return this;
    }

    public Event setId(int id) {
        this.id = id;
        return this;
    }

    public Event setMessage(String message) {
        this.message = message;
        return this;
    }
}
